package com.naodong.shenluntiku.mvp.view.fragment;

import android.os.Bundle;

import com.naodong.shenluntiku.R;
import com.naodong.shenluntiku.mvp.model.bean.EventBusTag;

import butterknife.OnClick;
import me.shingohu.man.base.BaseMVPFragment;
import me.shingohu.man.di.component.AppComponent;
import me.shingohu.man.intergation.EventManager;

/**
 * Created by hujie on 17/5/24.
 *
 * 继续做题
 */

public class GoonFragment extends BaseMVPFragment {
    @Override
    protected void setupActivityComponent(AppComponent appComponent) {

    }

    @Override
    protected void onViewCreated(Bundle savedInstanceState) {

    }

    public static GoonFragment getInstance() {
        GoonFragment g = new GoonFragment();
        return g;
    }

    @OnClick(R.id.goonBtn)
    public void onGoonClick() {
        EventManager.getInstance().postEvent(EventBusTag.GO_ON_ASSESSMENT);
    }


    @Override
    protected int layoutId() {
        return R.layout.go_do;
    }
}
